Skip to main content

Configuring YUM for DAG

Don't know what DAG is yet, but this is good for adding more packages: (libnet is needed by nessus) Add this to bottom of /etc/yum.conf: [dag] name=Dag RPM Repository for Fedora Core baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag (This on the page http://dag.wieers.com/home-made/apt/FAQ.php#B) Then do the following to find the pkg. note that when i do yum install later down, it picks the latest one. :) [root@localhost etc]# yum search libnet Searching Packages: Setting up Repo: dag repomd.xml 100% |=========================| 951 B 00:00 Setting up Repo: base repomd.xml 100% |=========================| 1.1 kB 00:00 Setting up Repo: updates-released repomd.xml 100% |=========================| 951 B 00:00 Reading repository metadata in from local files primary.xml.gz 100% |=========================| 566 kB 00:01 MD Read : ################################################## 1605/1605 dag : ################################################## 1605/1605 base : ################################################## 2622/2622 updates-re: ################################################## 463/463 libnet.i386 1.1.2.1-1.1.fc3.rf dag Matched from: libnet Libnet is a high-level API (toolkit) allowing the application programmer to construct and inject network packets. It provides a portable and simplified interface for low-level network packet shaping, handling and injection. Libnet hides much of the tedium of packet creation from the application programmer such as multiplexing, buffer management, arcane packet header information, byte-ordering, OS-dependent issues, and much more. Libnet features portable packet creation interfaces at the IP layer and link layer, as well as a host of supplementary and complementary functionality. Using libnet, quick and simple packet assembly applications can be whipped up with little effort. With a bit more time, more complex programs can be written (Traceroute and ping were easily rewritten using libnet and libpcap). http://www.packetfactory.net/projects/libnet/ echoart.i386 0.1-1.1.fc3.rf dag Matched from: Echoart responds to or drops ICMP echo request packets based on a pre-defined sequence, and could be used to return crude ASCII art in response to pings from a Cisco router. It works by intercepting ICMP echo request packets and consulting a pattern template to determine whether or not to respond to a specific echo request. It then uses libnet to inject responses back into the network as necessary. libnet.i386 1.0.2-2.1.fc3.rf dag Matched from: libnet Libnet is a high-level API (toolkit) allowing the application programmer to construct and inject network packets. It provides a portable and simplified interface for low-level network packet shaping, handling and injection. Libnet hides much of the tedium of packet creation from the application programmer such as multiplexing, buffer management, arcane packet header information, byte-ordering, OS-dependent issues, and much more. Libnet features portable packet creation interfaces at the IP layer and link layer, as well as a host of supplementary and complementary functionality. Using libnet, quick and simple packet assembly applications can be whipped up with little effort. With a bit more time, more complex programs can be written (Traceroute and ping were easily rewritten using libnet and libpcap). http://www.packetfactory.net/projects/libnet/ snort-bloat.i386 2.2.0-1.1.fc3.rf dag Matched from: Snort compiled with MySQL, PostgreSQL and ODBC support. Requires snort libnet rpm. [root@localhost etc]# [root@localhost etc]# yum install libnet Setting up Install Process Setting up Repo: dag repomd.xml 100% |=========================| 951 B 00:00 Setting up Repo: base repomd.xml 100% |=========================| 1.1 kB 00:00 Setting up Repo: updates-released repomd.xml 100% |=========================| 951 B 00:00 Reading repository metadata in from local files dag : ################################################## 1605/1605 base : ################################################## 2622/2622 updates-re: ################################################## 463/463 Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Downloading header for libnet to pack into transaction set. libnet-1.1.2.1-1.1.fc3.rf 100% |=========================| 9.5 kB 00:00 ---> Package libnet.i386 0:1.1.2.1-1.1.fc3.rf set to be installed --> Running transaction check Dependencies Resolved Transaction Listing: Install: libnet.i386 0:1.1.2.1-1.1.fc3.rf Is this ok [y/N]: y Downloading Packages: libnet-1.1.2.1-1.1.fc3.rf 100% |=========================| 223 kB 00:00 warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 6b8d79e6 public key not available for //var/cache/yum/dag/packages/libnet-1.1.2.1-1.1.fc3.rf.i386.rpm [root@localhost etc]# [root@localhost etc]#

Comments

Popular posts from this blog

Atom: Hackable Text Editor for Ubuntu

It all started when I wanted to convert some text to Title Case. Ubuntu's default text editor, gedit, is quite capable, but does not include case conversion. A quick trip to Google and I found  (gedit is number 4). Since I write some code, too, I'm always interested in a good text editor.

After going through the list, I picked #2, Atom.

Atom looks appealing for a number of reasons. It's available through the Ubuntu Software app (almost -- see below for details)It's built on web technologies.It's cross-platform. From the article: Atom is a free and open source text editor that’s developed by GitHub. Based on Electron (CoffeeScript, JS, Less, HTML), it’s a desktop application that’s built using web technologies ... The major features of Atom are cross-platform editing, built-in package manager, file system browser, multiple pane support, find and replace function, and smart autocompletion. You can select from 1000s of open source packages and add new features to Atom…

Joomla 1.5 Directory Status: Writeable

[UPDATED] Joomla 1.5 is acting flaky on one of our installations because the directories are set to ‘unwriteable’. To see the their current state, log in as Super Administrator and go to Help > System Info > Directory Permissions. Elsewhere, it's been suggested that the specified directories must be set to “world-writeable” (777). This works, but it is a very bad idea, since it means anyone can change your files! Not cool. Fixing Security with User and Group Settings To perform these changes, you need shell (command line) access to your server. If you don't have it, you can beg your host to make these changes for you, or switch to a Joomla-friendly host. I'm going to assume that you are using a LAMP (Linux/Apache/MySQL/PHP) server because if you're not, then ... well, these instructions should work in principle, but the specifics for your server may be quite different. Here's the issue: you, the FTP user, need full access to your files. So does Joomla, wh…

Virus scan Windows using a Linux live CD

[There's been quite a bit of interest in this post and I've expanded on it quite a bit. Please post any comments or questions to help me improve this guide. - Neil] Keith and I have both run into situations where we want to recover a Windows computer by cleaning it up with a Linux Live (bootable) CD distro. This offers several advantages to cleaning up an infected or compromised computer by booting into Windows: It prevents the malware, if it exists, from jumping from the infected computer or partition we are trying to fix to the repair partition or boot medium.If we boot from a CD, there's actually no way to alter the boot medium, since it's read-only. Naturally, we started with Knoppix -- download it here. Installing and scanning with F-Prot is covered in this Knoppix.net discussion thread, Virus Scan from LiveCD, which describes how to install F-Prot from the command line using apt-get. Also, In Knoppix 5.1, you can boot from the Knoppix CD and install F-Prot wi…